﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using SPM.BL;
using SPM.DTL;

namespace SPM.colaborador
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
        {
            int count = GridView1.PageIndex * GridView1.PagerSettings.PageButtonCount;
            FormView1.PageIndex = count + GridView1.SelectedIndex;
            FormView1.ChangeMode(FormViewMode.Edit);
        }

        protected void FormView1_PageIndexChanging(object sender, FormViewPageEventArgs e)
        {
            ColaboradorBo bo = new ColaboradorBo();
            ColaboradorDto dto = new ColaboradorDto();
        }
    }
}
